<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
Route::controller('home/login','Home\LoginController');
Route::get('/','Home\HomepageController@index');
Route::controller('home/mine','Home\MineController');
Route::controller('home/forget','Home\ForgetController');
Route::controller('home/place','Home\PlaceController');
Route::controller('home/reg','Home\RegController');
Route::controller('home/newslist','Home\NewslistController');
Route::controller('home/success','Home\SuccessController');
Route::group(['middleware' => 'login'], function () {
    Route::controller('home/service','Home\ServiceController');
    Route::controller('home/dev', 'Home\DevController');
    Route::controller('home/gas', 'Home\GasController');
    Route::controller('home/help', 'Home\HelpController');
    Route::controller('home/smoke', 'Home\SmokeController');
    Route::controller('home/useele', 'Home\UseeleController');
    Route::controller('home/infrared', 'Home\InfraredController');
});






